<!DOCTYPE html>
<html>
<head>
 <include file="public:header" />
 <link rel="stylesheet" href="__PUBLIC__/css/user.css">
 <title>我的</title>
</head>

<body>
 

<div class="usertop">
  <div class="avatar"><img src="{$userinfo.avatar}"></div>
  <div class="name font16">
    <div class="nickname"> <span class="lv font12">LV{$userinfo.exp_lv}</span>{$userinfo.nickname}</div>
    
  
		
		<div class="progress">
			  <div class="nblock" style="width:{$userinfo.percentage}"></div>
		</div>
 
	
  </div>
</div>


 



<div class="uu_spacing"></div>
<div class="unavli a1"  url="{:U('question')}"><div class="txt">我的问答</div></div>
<div class="unavli a4" url="{:U('bbs')}"><div class="txt">我的主题</div></div>
<div class="unavli a3" url="{:U('article')}"><div class="txt">我的文章</div></div>
<div class="uu_spacing"></div>

<!-- 
<div class="unavli a6" url="{:U('follow')}"><div class="txt">我的关注</div></div>
<div class="unavli a7" url="{:U('favorites')}"><div class="txt">我的收藏</div></div> -->


<div class="uu_spacing"></div>
<div class="unavli a8" url="{:U('task')}"><div class="txt">我的任务</div></div>
<!--<div class="unavli a9"  url="{:U('msg')}"><div class="txt">我的消息</div></div> -->
<div class="unavli a10"  url="{:U('set')}"><div class="txt">账号设置</div></div>

<div class="uu_spacing"></div>
<script>
        $(".unavli").on('click', function() {
            var btn=$(this);
            var url=btn.attr('url');
            var params = {url: url};
            ajax_login('locationHref', params);
          //toast('程序猿正在努力干活，客官晚点再来试试吧');
          //window.location.href="{:U('wx_bb_start')}";
        });
        function locationHref(params){
            window.location.href=params.url;
        }
		 
	 
		 
</script>
<include file="public:foot" />
</body>

 
</html>